#pragma once

#include<iostream>
#include<vector>

typedef void (*task_t)();  //函数指针

void task1()
{
    std::cout<<"lol_1 刷新日志"<<std::endl;
}
void task2()
{
    std::cout<<"lol_2 更新野区"<<std::endl;
}
void task3()
{
    std::cout<<"lol_3 判断是否被击中"<<std::endl;
}
void task4()
{
    std::cout<<"lol_4 用户释放技能"<<std::endl;
}


void LoadTask(std::vector<task_t> *tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}